﻿@using IterationLife.Extensions.EasyUI
@using IterationLife.Extensions.Enums
@using Util.Ui
@model IterationLife.PlatformBackEnd.AppServices.Dtos.FootballTeachings.LessonDto
@{
    var x = @Html.EasyUi();
}
<dl>
    <dt>@Html.LabelFor(t => t.SortId)</dt>
    <dd>
        @x.TextBox(t => t.SortId)
    </dd>
</dl>
<dl>
    <dt>@Html.LabelFor(t => t.Name)</dt>
    <dd>
        @x.TextBox(t => t.Name)
    </dd>
</dl>
<dl>
    <dt>@Html.LabelFor(t => t.Difficulty)</dt>
    <dd>
        @x.Combox(t => t.Difficulty).Width(100)
    </dd>
</dl>
<div class="line"></div>
<dl>
    <dt>@Html.LabelFor(t => t.Banner)</dt>
    <dd style="width:180px;">
        @Html.Ui().Attachment().SingleEdit(t => t.Banner, Model.Banner)
    </dd>
</dl>
<dl>
    <dt>@Html.LabelFor(t => t.Video)</dt>
    <dd style="width:180px;">
        @Html.Ui().Attachment().SingleEdit(t => t.Video, Model.Video, FileType.Video)
    </dd>
</dl>
<div class="line"></div>
<dl style="width: 100%">
    <dt>@Html.LabelFor(t => t.Requirement)</dt>
    <dd style="width: 80%">
        @x.TextBox(t => t.Requirement).Width(100, true)
    </dd>
</dl>
<div class="line"></div>
<dl>
    <dt>@Html.LabelFor(t => t.Content)</dt>
    <dd>
        <div>
            @Html.Ui().Ueditor().Edit(t => t.Content)
        </div>
    </dd>
</dl>